#!/usr/bin/env python
# -*- coding:utf-8 -*-

from __future__ import print_function

__author__ = 'Bane'
__date__ = '15-4-27'
__contact__ = 'banezhang@zoho.com'
__copyright__ = 'Copyright (C) 2015, bane.im'

S = 'hello world'
for s in S:
    print(ord(s))

count = 0
for s in S:
    count += ord(s)
print(count)

print(list(ord(s) for s in S))
print(map(ord, S))
